Skip to content

Fix publish workflow failure caused by invalid field Javadoc tag#270

Merged
BenCodez merged 2 commits into
masterfrom
copilot/fix-publishing-job-failure
Jun 7, 2026
Merged

Fix publish workflow failure caused by invalid field Javadoc tag#270
BenCodez merged 2 commits into
masterfrom
copilot/fix-publishing-job-failure

Conversation

Copilot AI commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

The publish GitHub Actions job failed during Javadoc aggregation because a field-level Javadoc block in AdvancedCorePlugin used @return, which is only valid on methods. This PR removes that invalid tag so Javadoc generation can proceed.

  • Root cause

    • maven-javadoc-plugin failed on AdvancedCorePlugin.java with invalid use of @return for a field Javadoc block.
  • Code change

    • Updated AdvancedCore/src/main/java/com/bencodez/advancedcore/AdvancedCorePlugin.java.
    • Removed @return from the Javadoc above vaultHandler (a field), preserving the descriptive text.
  • Why this is minimal

    • Single-file, comment-only change.
    • No behavioral/runtime code changes.
/**
 * Handler for Vault integration.
 * 
 * @return the vault handler
 */
@Getter
public VaultHandler vaultHandler;
/**
 * Handler for Vault integration.
 */
@Getter
public VaultHandler vaultHandler;

Copilot AI changed the title [WIP] Fix failing GitHub Actions job 'publish' Fix publish workflow failure caused by invalid field Javadoc tag Jun 7, 2026
Copilot AI requested a review from BenCodez June 7, 2026 20:42
@BenCodez BenCodez marked this pull request as ready for review June 7, 2026 20:43
@BenCodez BenCodez merged commit c0c6b2a into master Jun 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants